<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib">
	<s:div id="loginout" styleClass="padding text11">
		<f:subview rendered="#{identity.loggedIn}">
			<h:outputText value="#{messages['message.welcome']}" />
					&#160;|&#160;
		<s:link action="#{identity.logout}"
				value="#{messages['label.logout']}" propagation="none" />
		</f:subview>
		<f:subview rendered="#{not identity.loggedIn}">
			<s:link view="/user/registration.xhtml"
				value="#{messages['label.register']}" propagation="none">
			</s:link>
			<ctg:nbsp />/<ctg:nbsp />
			<s:link view="/user/login.xhtml" value="#{messages['label.login']}"
				propagation="none">
			</s:link>
		</f:subview>
	</s:div>
</ui:component>